#include "heard.h"


int do_worker(int net_fd){
    int num;
    while(1){
        char strs[MAXSIZE];
        bzero(strs, sizeof(strs));

        num = recv(net_fd, strs, sizeof(strs),0);

        if(num == 0){
            close(net_fd);
            break;
        }
        char buf[MAXSIZE];
        memset(buf,0,sizeof(buf));

        analyse(strs, net_fd);


    }
    return 0;
}
